package com.cn.study0011;

import java.util.Scanner;

/**
 * @author lw
 * @ClassName Test0010.java
 * @Description
 * @createTime 2023年05月16日 22:50:00
 */
public class Test0010 {
    public static void main(String[] args) {
        Scanner sc= new Scanner(System.in);
        System.out.println("请输入该年度月份：");
        int n=sc.nextInt();
        switch (n){
            case 12:
            case 1:
            case 2:
                System.out.println(n+"月份是冬季！");
                break;
            case 3:
            case 4:
            case 5:
                System.out.println(n+"月份是春季！");
                break;
            case 6:
            case 7:
            case 8:
                System.out.println(n+"月份是夏季！");
                break;
            case 9:
            case 10:
            case 11:
                System.out.println(n+"月份是秋季！");
                break;
            default:

        }
    }
}
